package com.heima.comment.entity;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("ap_comment_repay")
public class ApCommentRepay implements Serializable {

    private ObjectId id;

    // 被评论的ID
    private Long commentId;

    //评论人的ID

    private Long commentRepayId;

    //评论的姓名
    private String commentName;

    //喜爱的数量
    private Long likes;

    // 回复评论的内容
    private String content;

    //评论时间
    private Date createdTime;
}
